Skip to main content

POST Refresh Channel Status

Overview

The table below provides key details about the POST method to refresh the status of a channel.

Refresh Channel Status
MethodPOST
URL or Endpoint/api/v1/projectId/channels/channelId/refresh-status
HeadersAuthorization
Content Typeapplication/json
ParametersprojectId, channelId
Request BodyNone

The description of the URL parameters is as follows:

channelId URL Parameter
URL Parameter NamechannelId
MandatoryYes
Typestring
DescriptionUnique Id of the channel.
projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request Body

No body parameters are required for the "Refresh Channel Status" endpoint.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"statusName": "string",
"healthStatusName": "string"
},
"resultInfo": null,
"statusCode": 200
}

Response Fields

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[]Indicates if there were any errors during the request.
messagesarray[]Returns any messages from the back-end system.
resultobjectContains the channel status and health information.
statusNamestringThe current status of the channel (e.g., "Offline").
healthStatusNamestringThe health status of the channel (e.g., "Unknown").
resultInfostringProvides additional information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request
  • HTTP Status Code 401: Unauthorized
  • HTTP Status Code 403: Forbidden
  • HTTP Status Code 404: Result Not Found
  • HTTP Status Code 500: Internal Server Error
  • HTTP Status Code 503: Backend Fetch Failed